package gradle.common.core.exception;

import gradle.common.core.enums.ResultCodeEnum;

/**
 * 无效token异常
 */
public class InvalidBearerTokenException extends BaseException {

    public InvalidBearerTokenException() {
        super(ResultCodeEnum.ACCOUNT_EXPIRED.getCode(), ResultCodeEnum.ACCOUNT_EXPIRED.getMessage());
    }

    public InvalidBearerTokenException(String message){
        super(ResultCodeEnum.ACCOUNT_EXPIRED.getCode(), message);
    }
}
